package org.linlinjava.litemall.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.linlinjava.litemall.db.domain.LitemallCashSettlement;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel("POS日中、下班结算DTO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WebCashSettlementDTO implements Serializable {


    @ApiModelProperty("订单金额")
    private BigDecimal orderCash;
    @ApiModelProperty("找零金额")
    private BigDecimal change;
    @ApiModelProperty("钱箱实际金额")
    private BigDecimal deserveCash;
    @ApiModelProperty("相差金额")
    private BigDecimal differenceAmount;
    @ApiModelProperty("面额与商品数量JSON")
    private List denominationMap;
    @ApiModelProperty("设备编号(订单新增时，用于隔离其他设备)")
    private String deviceNo;
    @ApiModelProperty("实收金额(实际收入账的金额)")
    private BigDecimal actualCash;
    @ApiModelProperty("钱箱预计金额")
    private BigDecimal estimateCash;
    @ApiModelProperty("初始金额")
    private BigDecimal initialCash;
    @ApiModelProperty("退款金额")
    private BigDecimal refundCash;
    @ApiModelProperty("收取金额(收取用户的金额)")
    private BigDecimal receiveCash;
    @ApiModelProperty("结算类型(1 日中结算｜ 2 下班结算)")
    private Integer type;
    @ApiModelProperty("结算区间")
    private LocalDateTime lastCheck;
}
